package com.dsbj.mp.icardservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 消费月结
 */
@Data
@TableName("CON_EMPLOYEE_MONTH_MEAL")
public class EmployeeMonthMeal{

	@TableId(value = "id", type = IdType.UUID)
	private String id; //id

	private String companyno;

    private String employeeId;//员工主键编号

    private String employeeName;//员工姓名

    private String employeeNo;//员工工号

    private String cardNo;//卡号

    private Integer yearId;//年份

    private Integer monthId;//月份

    private Integer workdays;//工作天数

    private Integer otDays;//加班天数

    private Integer otOverDays;//加班超出额度天数 (有效餐补天数)

    private BigDecimal monthMealFee;//食堂消费金额

    private BigDecimal monthMealSubsidy;//月补助金额

    private BigDecimal monthOtSubsidy;//加班补助金额
    
    private Integer deductionDays;//扣除天数   
    
    private BigDecimal monthDeduction;//月扣除数
   
    private BigDecimal precedingMonthBalance;//上月结余
    
    private BigDecimal balance;//本月结余
    
    private BigDecimal shouldProvideMeals;//应发餐费

    private Integer status; // 状态（0:停用，1:启用）

    private String createTime; // 创建时间

    private String createUser; // 创建人

    private String updateTime; // 修改时间

    private String updateUser; // 修改人

    private BigDecimal consumeSum;//消费总额
    //自定义
	@TableField(exist = false)
    private Float hours;//小时

	@TableField(exist = false)
    private String deptno;// 部门编号

	@TableField(exist = false)
	private String deptname; //部门名称

	@TableField(exist = false)
    private String eod;//入职日期

	@TableField(exist = false)
	private BigDecimal otSubsidy;

	@TableField(exist = false)
	private BigDecimal oddfare;

	@TableField(exist = false)
	private BigDecimal sumMonthMoney;

	@TableField(exist = false)
    private Integer flagBalance;//标记本月结算额   用作页面查询

}